<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>分组管理</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link href="../../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../../css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="../../css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="../../css/animate.css" rel="stylesheet">
    <link href="../../css/style.css?v=4.1.0" rel="stylesheet">


</head>

<body class="gray-bg">
<style>
    .btn-success {
        background-color: #1ab394;
        border-color: #1ab394;
        color: #FFFFFF;
    }
    .btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success {
        background-color: #1ab394;
        border-color: #1ab394;
        color: #FFFFFF;
    }
</style>
<div class="wrapper wrapper-content animated fadeInRight">

    <!-- Panel Columns & Select -->
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <!--<h5>列&amp;选择</h5>-->
            <div class="ibox-tools">
                <a class="collapse-link">
                    <i class="fa fa-chevron-up"></i>
                </a>
            </div>
        </div>
        <div class="ibox-content">
            <div class="row row-lg">

                <div class="clearfix hidden-xs"></div>

                <div class="col-sm-4">
                    <!-- Example Radio Select -->
                    <div class="example-wrap margin-sm-0">
                        <h4 class="example-title">组列表</h4>
                        <div class="dataTables_wrapper form-inline" style="margin-bottom: 15px;" role="grid">
                            <div class="pull-left" >
                                <input id="title" type="text" style="width: 100px;font-size: 12px;" class="form-control" placeholder="组名称">
                                <button id="searchGroup" class="btn btn-primary" style="margin-left: 5px;font-size: 12px;border-radius:1px;" type="button">&nbsp;查询</button>
                                <button id="clearGroup" class="btn btn-primary" style="margin-left: 5px;font-size: 12px;border-radius:1px;"  type="button">&nbsp;清空</button>
                            </div>
                            <div class="pull-right">
                                <button id="addGroupBtn" class="btn btn-primary" data-target='#addGroupModal' data-toggle='modal' style="font-size: 12px;border-radius:1px;margin-left: 10px" type="button">新增</button>
                            </div>
                        </div>
                        <div >
                            <!--<table id="groupTable" data-toggle="table" data-height="299" data-click-to-select="true" data-select-item-name="myRadioName" data-mobile-responsive="true">-->
                            <table id="groupTable" >
                                <thead>

                                </thead>
                            </table>
                        </div>
                    </div>
                    <!-- End Example Radio Select -->
                </div>

                <div class="modal inmodal " id="addGroupModal" tabindex="-1" role="dialog" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content animated bounceInRight">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">关闭</span>
                                </button>
                                <h4 class="modal-title">新增</h4>
                            </div>
                            <div class="modal-body">
                                <form class="form-horizontal m-t" id="addGroupForm">
                                    <div class="form-group"><input name="id" type="hidden" class="form-control"></div>
                                    <div class="form-group"><label>组名</label> <input name="title" type="text" placeholder="请输入组名"
                                                                                       class="form-control" required=""
                                                                                       aria-required="true"></div>
                                    <div class="modal-footer">
                                        <button type="submit" class="btn btn-white" data-dismiss="modal">关闭</button>
                                        <button type="submit" id="addBtn" class="btn btn-primary">保存</button>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal inmodal " id="editGroupModal" tabindex="-1" role="dialog" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content animated bounceInRight">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">关闭</span>
                                </button>
                                <h4 class="modal-title">编辑</h4>
                            </div>
                            <div class="modal-body">
                                <form class="form-horizontal m-t" id="editGroupForm">
                                    <div class="form-group"><input name="id" type="hidden" class="form-control"></div>
                                    <div class="form-group"><label>组名</label> <input name="title" type="text" placeholder="请输入组名"
                                                                                       class="form-control" required=""
                                                                                       aria-required="true"></div>
                                    <div class="modal-footer">
                                        <button type="submit" class="btn btn-white" data-dismiss="modal">关闭</button>
                                        <button type="submit" id="editGroupBtn" class="btn btn-primary">保存</button>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal inmodal " id="deleteConfirm" tabindex="-1" role="dialog" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content animated bounceInRight">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">关闭</span>
                                </button>
                                <h4 class="modal-title">提示信息</h4>
                            </div>
                            <div class="modal-body">
                                <div class="alert alert-warning">
                                    <h3 style="text-align: center;">您确认删除吗？</h3>
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                                <button type="button" id="del" class="btn btn-primary" >确定</button>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-sm-4">
                    <!-- Example Checkbox Select -->
                    <div class="example-wrap">
                        <h4 class="example-title">组内成员</h4>
                        <div class="dataTables_wrapper form-inline" style="margin-bottom: 15px;" role="grid">
                            <div class="pull-left" >
                                <input id="staffName" type="text" style="width: 100px;font-size: 12px;" class="form-control" placeholder="成员姓名">
                                <button id="searchName" class="btn btn-primary" style="margin-left: 5px;font-size: 12px;border-radius:1px;"  type="button">&nbsp;查询</button>
                                <button id="clearName" class="btn btn-primary" style="margin-left: 5px;font-size: 12px;border-radius:1px;" type="button">&nbsp;清空</button>
                            </div>
                            <div class="pull-right">
                                <button id="addName" class="btn btn-primary" style="font-size: 12px;border-radius:1px;margin-left: 10px"  type="button">新关联</button>
                            </div>
                        </div>
                        <div >
                            <table id="staffTable" >
                            </table>
                        </div>
                    </div>
                    <!-- End Example Checkbox Select -->
                </div>
                <div class="col-sm-4">
                    <!-- Example Checkbox Select -->
                    <div class="example-wrap">
                        <h4 class="example-title">组内资料</h4>
                        <div class="dataTables_wrapper form-inline" style="margin-bottom: 15px;" role="grid">
                            <div class="pull-left" >
                                <input id="messageTitle" type="text" style="width: 100px;font-size: 12px;" class="form-control" placeholder="消息名称">
                                <button id="searchTitle" class="btn btn-primary" style="margin-left: 5px;font-size: 12px;border-radius:1px;" type="button">&nbsp;查询</button>
                                <button id="clearTitle" class="btn btn-primary" style="margin-left: 5px;font-size: 12px;border-radius:1px;" type="button">&nbsp;清空</button>
                            </div>
                            <div class="pull-right">
                                <button id="addTitle" class="btn btn-primary" style="font-size: 12px;border-radius:1px;margin-left: 10px" type="button">新关联</button>
                            </div>
                        </div>
                        <div >
                            <table id="messageTable" >
                            </table>
                        </div>
                    </div>
                    <!-- End Example Checkbox Select -->
                </div>
            </div>
        </div>
    </div>
    <!-- End Panel Columns & Select -->

</div>

<!-- 全局js -->
<script src="../../js/jquery.min.js?v=2.1.4"></script>
<script src="../../js/bootstrap.min.js?v=3.3.6"></script>

<!-- 自定义js -->
<script src="../../js/content.js?v=1.0.0"></script>
<script src="/lib/config.js"></script>


<!-- Bootstrap table -->
<script src="../../js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<!--<script src="https://cdn.bootcss.com/bootstrap-table/1.12.1/bootstrap-table.min.js"></script>-->
<script src="../../js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script src="../../js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>

<script src="https://cdn.bootcss.com/bootstrap-validator/0.5.3/js/bootstrapValidator.js"></script>
<!-- Peity -->
<script src="../../js/demo/bootstrap-table-demo.js"></script>

<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
<!--统计代码，可删除-->

<script src="js/group.js"></script>
<script src="js/staff.js"></script>
<script src="js/message.js"></script>

</body>

</html>
